package com.cx.androidtools;

import com.cx.androidtools.adapter.ImageAdapter;
import com.cx.androidtools.customWidget.indicator.CircleFlowIndicator;
import com.cx.androidtools.customWidget.indicator.ViewFlow;

import android.app.Activity;
import android.os.Bundle;

public class CircleViewFlowExample extends Activity {
	private ViewFlow viewFlow;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setTitle(R.string.circle_title);
		setContentView(R.layout.circle_layout);

		viewFlow = (ViewFlow) findViewById(R.id.viewflow);
		viewFlow.setAdapter(new ImageAdapter(this));
		CircleFlowIndicator indic = (CircleFlowIndicator) findViewById(R.id.viewflowindic);
		viewFlow.setFlowIndicator(indic);

	}
}
